package cn.legend.travel.tour.team.constants;

public class TourIndexConstants {
    public static final String MAPPING_TEMPLATE = "{\n" +
            "  \"mappings\": {\n" +
            "    \"properties\": {\n" +
            "      \"id\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"coverUrl\": {\n" +
            "        \"type\": \"keyword\",\n" +
            "      },\n" +
            "      \"salaCount\": {\n" +
            "        \"type\": \"keyword\",\n" +
            "      },\n" +
            "      \"type\": {\n" +
            "        \"type\": \"text\"\n" +
            "        \"analyzer\": \"ik_max_word,pinyin\",\n" +
            "        \"copy_to\": \"all\"\n" +
            "      },\n" +
            "      \"departure\": {\n" +
            "        \"type\": \"text\"\n" +
            "        \"analyzer\": \"ik_max_word,pinyin\",\n" +
            "        \"copy_to\": \"all\"\n" +
            "      },\n" +
            "      \"title\": {\n" +
            "        \"type\": \"text\",\n" +
            "        \"analyzer\": \"ik_max_word,pinyin\",\n" +
            "        \"copy_to\": \"all\"\n" +
            "      },\n" +
            "      \"starTime\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"endTime\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"storeId\": {\n" +
            "        \"type\": \"keyword\",\n" +
            "      },\n" +
            "      \"basePrice\": {\n" +
            "        \"type\": \"keyword\",\n" +
            "      },\n" +
            "      \"likeCount\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "        \"viewCount\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "        \"isRecommendation\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "        \"index\": false\n" +
            "      },\n" +
            "        \"enable\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "        \"index\": false\n" +
            "      },\n" +
            "        \"isDisplay\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "        \"index\": false\n" +
            "      },\n" +
            "        \"gemtCreate\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "        \"index\": false\n" +
            "      },\n" +
            "        \"gmtModified\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "        \"index\": false\n" +
            "      },\n" +
            "      \"all\": {\n" +
            "        \"type\": \"text\",\n" +
            "        \"analyzer\": \"ik_max_word\"\n" +
            "      }\n" +
            "    }\n" +
            "  }\n" +
            "}";
}
